function foo () {
    let a = 2;
    return () => a;
}
console.log (foo () ())

let x = () => "abc";
console.log(x());
